<?php

include_once ('com/alibaba/openapi/client/entity/SDKDomain.class.php');
include_once ('com/alibaba/openapi/client/entity/ByteArray.class.php');
include_once ('JxhyProductGetPageListParam/JxhyProductGetPageListSellPointModel.class.php');
include_once ('JxhyProductGetPageListParam/JxhyProductGetPageListServiceModel.class.php');

class JxhyProductGetPageListQueryResult extends SDKDomain {

       	
    private $imgUrl;
    
        /**
    * @return 
    */
        public function getImgUrl() {
        return $this->imgUrl;
    }
    
    /**
     * 设置     
     * @param String $imgUrl     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setImgUrl( $imgUrl) {
        $this->imgUrl = $imgUrl;
    }
    
        	
    private $itemId;
    
        /**
    * @return 
    */
        public function getItemId() {
        return $this->itemId;
    }
    
    /**
     * 设置     
     * @param Long $itemId     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setItemId( $itemId) {
        $this->itemId = $itemId;
    }
    
        	
    private $maxPrice;
    
        /**
    * @return 
    */
        public function getMaxPrice() {
        return $this->maxPrice;
    }
    
    /**
     * 设置     
     * @param Long $maxPrice     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setMaxPrice( $maxPrice) {
        $this->maxPrice = $maxPrice;
    }
    
        	
    private $minPrice;
    
        /**
    * @return 
    */
        public function getMinPrice() {
        return $this->minPrice;
    }
    
    /**
     * 设置     
     * @param Long $minPrice     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setMinPrice( $minPrice) {
        $this->minPrice = $minPrice;
    }
    
        	
    private $salesCnt90d;
    
        /**
    * @return 
    */
        public function getSalesCnt90d() {
        return $this->salesCnt90d;
    }
    
    /**
     * 设置     
     * @param Integer $salesCnt90d     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setSalesCnt90d( $salesCnt90d) {
        $this->salesCnt90d = $salesCnt90d;
    }
    
        	
    private $sellPointInfo;
    
        /**
    * @return 
    */
        public function getSellPointInfo() {
        return $this->sellPointInfo;
    }
    
    /**
     * 设置     
     * @param JxhyProductGetPageListSellPointModel $sellPointInfo     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setSellPointInfo(JxhyProductGetPageListSellPointModel $sellPointInfo) {
        $this->sellPointInfo = $sellPointInfo;
    }
    
        	
    private $serviceList;
    
        /**
    * @return 
    */
        public function getServiceList() {
        return $this->serviceList;
    }
    
    /**
     * 设置     
     * @param array include @see JxhyProductGetPageListServiceModel[] $serviceList     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setServiceList(JxhyProductGetPageListServiceModel $serviceList) {
        $this->serviceList = $serviceList;
    }
    
        	
    private $title;
    
        /**
    * @return 
    */
        public function getTitle() {
        return $this->title;
    }
    
    /**
     * 设置     
     * @param String $title     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setTitle( $title) {
        $this->title = $title;
    }
    
        	
    private $skuCnt;
    
        /**
    * @return 精选货源价格的sku数量
    */
        public function getSkuCnt() {
        return $this->skuCnt;
    }
    
    /**
     * 设置精选货源价格的sku数量     
     * @param Integer $skuCnt     
     * 参数示例：<pre>5</pre>     
     * 此参数必填     */
    public function setSkuCnt( $skuCnt) {
        $this->skuCnt = $skuCnt;
    }
    
    	
	private $stdResult;
	
	public function setStdResult($stdResult) {
		$this->stdResult = $stdResult;
					    			    			if (array_key_exists ( "imgUrl", $this->stdResult )) {
    				$this->imgUrl = $this->stdResult->{"imgUrl"};
    			}
    			    		    				    			    			if (array_key_exists ( "itemId", $this->stdResult )) {
    				$this->itemId = $this->stdResult->{"itemId"};
    			}
    			    		    				    			    			if (array_key_exists ( "maxPrice", $this->stdResult )) {
    				$this->maxPrice = $this->stdResult->{"maxPrice"};
    			}
    			    		    				    			    			if (array_key_exists ( "minPrice", $this->stdResult )) {
    				$this->minPrice = $this->stdResult->{"minPrice"};
    			}
    			    		    				    			    			if (array_key_exists ( "salesCnt90d", $this->stdResult )) {
    				$this->salesCnt90d = $this->stdResult->{"salesCnt90d"};
    			}
    			    		    				    			    			if (array_key_exists ( "sellPointInfo", $this->stdResult )) {
    				$sellPointInfoResult=$this->stdResult->{"sellPointInfo"};
    				$this->sellPointInfo = new JxhyProductGetPageListSellPointModel();
    				$this->sellPointInfo->setStdResult ( $sellPointInfoResult);
    			}
    			    		    				    			    			if (array_key_exists ( "serviceList", $this->stdResult )) {
    			$serviceListResult=$this->stdResult->{"serviceList"};
    				$object = json_decode ( json_encode ( $serviceListResult ), true );
					$this->serviceList = array ();
					for($i = 0; $i < count ( $object ); $i ++) {
						$arrayobject = new ArrayObject ( $object [$i] );
						$JxhyProductGetPageListServiceModelResult=new JxhyProductGetPageListServiceModel();
						$JxhyProductGetPageListServiceModelResult->setArrayResult($arrayobject );
						$this->serviceList [$i] = $JxhyProductGetPageListServiceModelResult;
					}
    			}
    			    		    				    			    			if (array_key_exists ( "title", $this->stdResult )) {
    				$this->title = $this->stdResult->{"title"};
    			}
    			    		    				    			    			if (array_key_exists ( "skuCnt", $this->stdResult )) {
    				$this->skuCnt = $this->stdResult->{"skuCnt"};
    			}
    			    		    		}
	
	private $arrayResult;
	public function setArrayResult($arrayResult) {
		$this->arrayResult = $arrayResult;
				    		    			if (array_key_exists ( "imgUrl", $this->arrayResult )) {
    			$this->imgUrl = $arrayResult['imgUrl'];
    			}
    		    	    			    		    			if (array_key_exists ( "itemId", $this->arrayResult )) {
    			$this->itemId = $arrayResult['itemId'];
    			}
    		    	    			    		    			if (array_key_exists ( "maxPrice", $this->arrayResult )) {
    			$this->maxPrice = $arrayResult['maxPrice'];
    			}
    		    	    			    		    			if (array_key_exists ( "minPrice", $this->arrayResult )) {
    			$this->minPrice = $arrayResult['minPrice'];
    			}
    		    	    			    		    			if (array_key_exists ( "salesCnt90d", $this->arrayResult )) {
    			$this->salesCnt90d = $arrayResult['salesCnt90d'];
    			}
    		    	    			    		    		if (array_key_exists ( "sellPointInfo", $this->arrayResult )) {
    		$sellPointInfoResult=$arrayResult['sellPointInfo'];
    			    			$this->sellPointInfo = new JxhyProductGetPageListSellPointModel();
    			    			$this->sellPointInfo->setStdResult ( $sellPointInfoResult);
    		}
    		    	    			    		    		if (array_key_exists ( "serviceList", $this->arrayResult )) {
    		$serviceListResult=$arrayResult['serviceList'];
    			$this->serviceList = new JxhyProductGetPageListServiceModel();
    			$this->serviceList->setStdResult ( $serviceListResult);
    		}
    		    	    			    		    			if (array_key_exists ( "title", $this->arrayResult )) {
    			$this->title = $arrayResult['title'];
    			}
    		    	    			    		    			if (array_key_exists ( "skuCnt", $this->arrayResult )) {
    			$this->skuCnt = $arrayResult['skuCnt'];
    			}
    		    	    		}
 
   
}
?>